package com.example.viewInfo;

import com.example.domain.Term;
import com.example.domain.Tuition;

/**
 * @author 袁小弘
 * @describe 学期与学费的视图信息类
 * @date 2020-01-13
 */

public class TermAndTuitionViewInfo {

    private Term term;
    private Tuition tuition;

    public TermAndTuitionViewInfo() {
        super();
    }

    public TermAndTuitionViewInfo(Term term) {
        super();
        Tuition tuition = new Tuition();
        this.tuition = tuition;
        this.term = term;
    }

    public TermAndTuitionViewInfo(Tuition tuition) {
        super();
        Term term = new Term();
        this.term = term;
        this.tuition = tuition;
    }

    public TermAndTuitionViewInfo(Term term, Tuition tuition) {
        super();
        this.term = term;
        this.tuition = tuition;
    }

    public Term getTerm() {
        return term;
    }

    public void setTerm(Term term) {
        this.term = term;
    }

    public Tuition getTuition() {
        return tuition;
    }

    public void setTuition(Tuition tuition) {
        this.tuition = tuition;
    }

}
